﻿
using System.Text.Json.Serialization;

namespace Open.Product.Domain.Dto
{

    public class ProductStandardDto 
    {
        /// <summary>
        /// ID
        /// </summary>
     
        [JsonPropertyName("standard_id")]
        public long Id { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        [JsonPropertyName("name")]
        public string StandardName { get; set; }

        /// <summary>
        /// 单位换算关系
        /// </summary>
        [JsonPropertyName("relation")]
        public decimal StandardRelation { get; set; }

        /// <summary>
        /// 零售价
        /// </summary>
        [JsonPropertyName("retail_price")]
        public decimal RetailPrice { get; set; }

        /// <summary>
        /// 会员价
        /// </summary>
        [JsonPropertyName("vip_price")]
        public decimal? MemberPrice { get; set; }

        /// <summary>
        /// 采购价
        /// </summary>
        [JsonPropertyName("buying_price")]
        public decimal? BuyingPrice { get; set; }

        /// <summary>
        /// 批发价
        /// </summary>
        [JsonPropertyName("wholesale_price")]
        public decimal? WholesalePrice { get; set; }

        /// <summary>
        /// 配送价
        /// </summary>
        [JsonPropertyName("delivery_price")]
        public decimal? DeliveryPrice { get; set; }

        /// <summary>
        /// 会员价2
        /// </summary>
        [JsonPropertyName("vip_price2")]
        public decimal? MemberPrice2 { get; set; }

        /// <summary>
        /// 会员价3
        /// </summary>
        [JsonPropertyName("vip_price3")]
        public decimal? MemberPrice3 { get; set; }

        /// <summary>
        /// 会员价4
        /// </summary>
        [JsonPropertyName("vip_price4")]
        public decimal? MemberPrice4 { get; set; }

        /// <summary>
        /// 会员价5
        /// </summary>
        [JsonPropertyName("vip_price5")]
        public decimal? MemberPrice5 { get; set; }
    }
}